function cva=calaux(y,e0,e1,freq); 
if freq=='Q'; 
    cva=y + ( (100*e0:25:100*e1)'/100 );
elseif freq=='M'; 
    cva=y + ( (100*e0:1:100*e1)' / 100) ; 
end 
    